﻿using Nasty.Core.Model;
using Nasty.Core.Entity.System;
using SqlSugar;

namespace Nasty.SystemModule.Areas.UserMessage.Model
{
	public class UserMessageModel : SaveModel
	{
        /// <summary>
        /// 所属用户ID
        /// </summary>
        public string? UserId { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string? Title { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 是否已读
        /// </summary>
        public bool? IsRead { get; set; }

        /// <summary>
        /// 消息类型
        /// </summary>
        public MessageType? MessageType { get; set; }

        /// <summary>
        /// 自定义扩展字段
        /// </summary>
        public string? Extend { get; set; }
    }
}
